import {defineComponent, h, PropType, ref, SetupContext} from "vue";
import LibLabel from "@/kits/components/libLabel/LibLabel.vue";

export default defineComponent({
    name: "KitItem",
    props: {
        type: {
            type: String,
            required: true
        },
        options: {
            type: Object as PropType<any>,
            default: () => {
                return {}
            }
        }
    },
    setup(props: any, ctx: SetupContext) {
        const message = ref('内容')
        return {message};
    },
    render() {
        return h(LibLabel, {}, {
            default: () => {
                return [
                    h('div', this.message)
                ]
            }
        })
    }
})
